 <style type="text/css">
 #product_content{}
 .product_list{width:100%; height:100px; position:relative; word-wrap: break-word; margin:0 0 20px 0px;}
	.column_left{float:left; width:130px;}
		.product_image{float:left; width:130px; height:100px; overflow: hidden}
	.column_right{float:left; width:560px;}
		.product_title{float:left;}
		.product_detail{float:left;}
		.roduct_cart{float:left;}
		.product_price{float:left;}
.product-reccommend{ width:16px; height:15px; cursor:pointer;}

 </style>
<!-- the Shopping Cart script -->
<script type="text/javascript" src="modules/IShopStore/pnjavascript/jbasket/js/custom.js"></script>

<div id="product_content">
<!-- [$smarty.request.status] -->
	<!--[if $smarty.request.status eq 'success']--><h3>รายการสินค้าทั้งหมด</h3><!--[/if]-->
	<!--[if $smarty.request.status eq 'success']--><h3>รายการสินค้าทั้งหมด</h3><!--[/if]-->
			<!--[foreach from=$objectArray item=item]-->
		<div class="product_list">
			<div class="column_left productWrap">
          <div class="product_image productImageWrap" id="productImageWrapID_list_<!--[$item.id]-->">
            <a href="<!--[pnmodurl modname='IShopStore' func='view' ctrl='item' id=$item.id]-->">
              <img src="<!--[pngetbaseurl]--><!--[$item.firstthumbname]-->" width="130px" alt="Product<!--[$item.id]-->"/>
              <!--[if $item.status eq '9']-->
                <div class="product-reccommend" onclick="location.href='<!--[pnmodurl modname='IShopStore' func='status' ctrl='Item' id=$item.id status='9']-->';">
                </div>
              <!--[/if]-->
            </a>
          </div>
			</div>
			<div class="column_right">
					<div class="product_title">
					<h1>
						<a href="<!--[pnmodurl modname='IShopStore' func='view' ctrl='item' id=$item.id]-->">
              <div id="productTitle_list_<!--[$item.id]-->" style="display:none;"><!--[$item.title]--></div>						  
							<!--[$item.title|mb_truncate:80:"..."]-->
						</a>
					</h1>
					</div>
					<div class="product_detail">
					<p><!--[$item.detail|mb_truncate:150:"..."]--></p>
					</div>
					<div class="product_cart"></div>
					<div class="product_price">
<<<<<<< .mine
            <span>ราคา</span>
            <span >&nbsp;<!--[$item.price|number_format]-->&nbsp;</span>
            <div id="price_list_<!--[$item.id]-->" style="display:none;"><!--[$item.price]--></div>			
            <span>บาท</span>
					</div>
					<!--
					<div class="product_price">
            <span>พิเศษราคา</span>
            <span >&nbsp;<!--[$item.sale_price|number_format]-->&nbsp;</span>
=======
					
					<!--[if $item.sale_price > 0]-->
            <span>ราคาปกติ&nbsp;</span>
            <span class="price" style="text-decoration: line-through; color:#f00;"><!--[$item.price|number_format]--></span>
>>>>>>> .r179
            <div id="price_list_<!--[$item.id]-->" style="display:none;"><!--[$item.price]--></div>			
            <span>&nbsp;บาท&nbsp;&nbsp;</span>
            <span>ลดเหลือ</span>
            <span style="color:#f00;">&nbsp;<!--[$item.sale_price|number_format]-->&nbsp;</span>
            <div id="sale_price_list_<!--[$item.id]-->" style="display:none;"><!--[$item.sale_price]--></div>			
            <span>บาท</span>
					<!--[else]-->
							<span>ราคา&nbsp;</span>
							<span class="price" style="color:#f00;"><!--[$item.price|number_format]--></span>
							<div id="price_list_<!--[$item.id]-->" style="display:none;"><!--[$item.price]--></div>			
							<span>&nbsp;บาท&nbsp;&nbsp;</span>
					<!--[/if]-->
					</div>
					-->
					
						<div class="productPriceWrapRight">
							<a href="<!--[pnmodurl modname='IShopStore' type='ajax' func='addToCart' id=$item.id]-->" onClick="return false;">			
								<button class="button_cart" alt="Add To Basket" id="featuredProduct_list_<!--[$item.id]-->">หยิบใส่ตะกร้า</button>
							</a>
						</div>											
			</div>
		</div>
	  <!--[/foreach]-->
</div>
<br>
				

